package com.jxaummd.mushroom.main.common.data;


import com.jxaummd.mushroom.core.base.data.DataSource;

public class LoginData {

public static void Login(String phone,String password,DataSource.Callback callback){
//    RestClient.builder()
//            .url(University.getApiHost()+"University/login")
//            .params("phoneNumber",phone)
//            .params("password",password)
//            .success(response -> {
//                CommonBackModel commonBackModel = CommonBackModel.parseInstance(response);
//                callback.onDataLoaded(commonBackModel);
//            })
//            .error((code, msg) -> {
//                CommonBackModel commonBackModel = CommonBackModel.parseInstance(msg);
//                callback.onDataLoaded(commonBackModel);
//            })
//            .failure(() -> {
//
//            })
//            .build()
//            .get();
}
}
